bugfix(KLEF): Fix delete backend url construction failing#116
Merged
isaacwallace123 merged 16 commits intomainfrom Feb 23, 2026
Merged
bugfix(KLEF): Fix delete backend url construction failing#116isaacwallace123 merged 16 commits intomainfrom
isaacwallace123 merged 16 commits intomainfrom
Conversation
JeremyNRoos
approved these changes
Feb 23, 2026
isaacwallace123
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Pull Request Overview
📌 Summary
observability-servicethat performs statistical analysis on 7-day Prometheus metrics and uses OpenAI (GPT-4o-mini) to generate natural language recommendations for right-sizing, scaling, and cost optimization.@RequirePlatformAdminAOP-based security in Java services and dedicated admin middleware in Go services.🔗 Related Issues
Closes # (Internal Task: Platform-wide Admin & AI Observability)
🧪 Changes
✅ What’s Included
admin_audit_logs.Authorizationheaders in cross-service billing usage requests.ProjectAttributionPanelfor visualizing "Cluster Share" per project.ChatWidget, and form labels.platform_adminrole viauser-service.❌ What’s Not Included
🧪 Testing
🔍 How Was This Tested?
BillingControllerTestandMetricsServiceTest. Addedinsights_handler_test.go./api/v1/admin/*endpoints using a standard user JWT; verified 403 Forbidden responses.🧪 Test Coverage
🧩 Breaking Changes
Impact: Methods annotated with
@RequirePlatformAdminnow require the user to have theplatform_adminrole assigned in theuser-service. Existing users with standard "user" tokens will no longer be able to access system-wide project lists or node metrics.🔐 Security Considerations
Explanation:
platform_adminrole checked via a synchronous internal API call between services.OPENAI_API_KEY(must be added to ACR/K8s secrets).📝 Documentation
/docsREADME.md/adminendpoints documented inINSIGHTS_ENGINE_PROMPT.md)🎨 UI/UX Considerations
InsightsPanel,AuditLogTable,UsersTable)index.html)📦 Checklist Before Merge
feat: add AI insights and admin panel)👤 Contributor Notes
The Go CI workflow was temporarily commented out in this diff to facilitate rapid testing of the multi-service integration. This must be uncommented before merging to main.